#include <iostream>
#include <window.h>


bool FFG::Window::Create ( std::string title, int x_pos, int y_pos, int hight, int width )
{
	window = SDL_CreateWindow ( title.c_str(), x_pos, y_pos, hight, width, 0 );
	if ( window == nullptr )
	{
		std::cout << "Can't create window: " << SDL_GetError() << std::endl;
		return false;
	}
#ifdef INFO
	std::cout << "Create window success!" << std::endl;
#endif
	return true;
}
